/**
 * 弹框小组件 手机端考虑性能问题不引入layer.ui
 * @param msg
 * @param timeout
 */
function openMsg (msg , timeout=2000) {
   let html =` <style> html,body{width: 100%;height: 100%;} .pop-box{display: flex; justify-content: center; align-items:center; background: none; opacity: 0.75; position: fixed; top:0; left: 0; width: 100%; height: 100%; z-index: 8080;} .pop-box .contetn{background: #000; padding: 5px 8px; font-size: 14px; color: white; border-radius: 5px;}</style> 
  <div class="pop-box"> 
   <div class="contetn">
     ${msg} 
   </div> 
  </div> `;
   $('body').append(html);
   setTimeout(function () {
       $('.pop-box').remove();
   },timeout)
}